<template>
  <j-select-biz-component
    :value="value"

    name="设备"
    displayKey="deviceId"

    :returnKeys="returnKeys"
    :listUrl="url.list"
    :columns="columns"
    queryParamText="设备"

    v-on="$listeners"
    v-bind="$attrs"
  />
</template>

<script>
import JSelectBizComponent from './JSelectBizComponent'

export default {
  name: 'JSelectClient',
  components: {JSelectBizComponent},
  props: ['value'],
  data() {
    return {
      returnKeys: ['deviceId','id'],
      url: {list: '/ai/js/queryClientList'},
      columns: [
        {title: '设备', dataIndex: 'deviceId', align: 'center', width: 120},
        {title: '描述', dataIndex: 'deviceDesc', align: 'center', width: 120}
      ]
    }
  }
}
</script>

<style lang="less" scoped></style>